package ru.budget.mobile.data.sources.local.room

import androidx.room.*
import ru.budget.mobile.data.sources.local.entities.*

@Database(
    entities = [
        ConsumptionDB::class,
        IncomeDB::class
    ],
    version = 1,
    exportSchema = false
)
abstract class BudgetDatabase: RoomDatabase() {

    abstract fun incomeDAO(): IncomeDAO

    abstract fun consumptionDAO(): ConsumptionDAO
}